package com.firewolf.permission.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("page")
public class PageController {

	@RequestMapping("{model}/{page}")
	public String page(@PathVariable("model") String model,@PathVariable("page") String page){
		return model+"/"+page;
	}
	
	@RequestMapping("{page}")
	public String page2(@PathVariable("page") String page){
		return page;
	}

}
